﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopHuabaoPicture")]
    public class HuabaoPicture : BaseObject
    {
        //begin
        public HuabaoPicture()
        {}
        public HuabaoPicture(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _PosterId;
        public string PosterId
        {
            get
            {
                return _PosterId;
            }
            set
            {
                SetPropertyValue("PosterId", ref _PosterId, value);
            }
        }
        private string _PicId;
        public string PicId
        {
            get
            {
                return _PicId;
            }
            set
            {
                SetPropertyValue("PicId", ref _PicId, value);
            }
        }
        private DateTime _CreateDate;
        public DateTime CreateDate
        {
            get
            {
                return _CreateDate;
            }
            set
            {
                SetPropertyValue("CreateDate", ref _CreateDate, value);
            }
        }
        private DateTime _ModifiedDate;
        public DateTime ModifiedDate
        {
            get
            {
                return _ModifiedDate;
            }
            set
            {
                SetPropertyValue("ModifiedDate", ref _ModifiedDate, value);
            }
        }
        private string _PicUrl;
        public string PicUrl
        {
            get
            {
                return _PicUrl;
            }
            set
            {
                SetPropertyValue("PicUrl", ref _PicUrl, value);
            }
        }
        private string _PicNote;
        public string PicNote
        {
            get
            {
                return _PicNote;
            }
            set
            {
                SetPropertyValue("PicNote", ref _PicNote, value);
            }
        }
        //end
    }
}
